.class Lcom/waiqin365/lightapp/kehu/share/i;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v5, 0x1

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/share/a/j;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/lightapp/kehu/share/a/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->b(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v1, v2, v3, v4}, Lcom/waiqin365/lightapp/kehu/share/a/j;-><init>(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/share/a/a;Ljava/lang/String;)V

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;Lcom/waiqin365/lightapp/kehu/share/a/j;)Lcom/waiqin365/lightapp/kehu/share/a/j;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->c(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/lightapp/kehu/share/a/j;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/kehu/share/a/j;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->c(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/lightapp/kehu/share/a/j;

    move-result-object v0

    const v1, 0x7f0203a8

    const v2, 0x7f0203a6

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/kehu/share/a/j;->a(II)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->c(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/lightapp/kehu/share/a/j;

    move-result-object v0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/kehu/share/a/j;->a(I)V

    sget-object v0, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->b:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->c(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/lightapp/kehu/share/a/j;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->dismissProgressDialog()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/at;->b()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kehu/a/a/at;->d:Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/at;->e:Ljava/lang/String;

    const-string/jumbo v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->dismissProgressDialog()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v1, v0, v5}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;Ljava/lang/String;Z)V

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->dismissProgressDialog()V

    goto :goto_0

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->dismissProgressDialog()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/i;->a:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    const/4 v2, 0x0

    invoke-static {v1, v0, v2}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->a(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;Ljava/lang/String;Z)V

    goto :goto_1

    nop

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_0
        0x7 -> :sswitch_1
    .end sparse-switch
.end method
